/* static/css/styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

#curl_command{
    font-size: 14px;
}


textarea {
    width: 100%;
    height: 350px;
}

.button-container {
    margin-top: 20px;
}

button, input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover, input[type="submit"]:hover {
    background-color: #0056b3;
}

.custom-alert {
    position: fixed;
    top: 20px;
    right: 50px;
    background-color: #000bba;
    color: red;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.container {
    height: 100%;
    display: flex;
    justify-content: space-between;
}

textarea, pre {
    width: 100%;
    resize: both;
    padding: 10px;
    box-sizing: border-box;
}
pre {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    overflow: auto;
    white-space: pre-wrap; /* 保持换行 */
    color: #333; /* 默认字体颜色 */
    width: 100%;
}
.json-key {
    color: brown;
}
.json-value {
    color: navy;
}
.json-string {
    color: olive;
}
.button-container {
    margin-top: 10px;
}

/* 表单整体样式 */
.form_case_id {
    display: flex;
    flex-direction: column;
}

/* 标签与输入框容器 */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* 标签样式 */
label {
    width: 100px; /* 控制标签宽度，确保一致 */
    font-size: 16px; /* 与按钮文本一致 */
    background-color: #007bff; /* 与按钮背景一致 */
    color: white;
    padding: 0 10px; /* 控制标签内部的间距 */
    border-radius: 5px;
    display: flex; /* 使得label的高度自适应内容 */
    align-items: center; /* 垂直居中 */
    height: 40px; /* 明确指定高度，便于对齐 */
}

/* 输入框样式 */
.case_info {
    height: 40px; /* 与label高度保持一致 */
    width: 40%;
    border: 1px solid #ccc;
    padding: 0 20px; /* 内部填充，确保文本不靠边 */
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box; /* 确保 padding 不会影响高度 */
    margin-left: 5px; /* 添加间隔 */
}

/* 验证码弹框样式 */
#verifyCodeTable {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px; /* 圆角 */
}

#verifyCodeTable table {
    width: 100%;
    border-collapse: collapse;
}

#verifyCodeTable th, #verifyCodeTable td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

#verifyCodeTable th {
    background-color: #f2f2f2;
    font-weight: bold;
}

#verifyCodeTable #closePopup {
    margin-top: 10px;
    display: block;
}

/* 验证码弹框倒计时样式 : */
#countdown {
  color: brown;
}